@import "../../css/var.less";
@import "../../css/public.less";
.orders{
    .order-main{
        .orderInner{
            padding: 20px 25px 30px 25px;
            font-size: 14px;
            background: #fff;
            position: relative;
            .screening{
                height: 55px;
                border-bottom: 1px solid @borderdcdfe6;
                a{
                    border-radius: 4px;
                    width: 78px;
                    height: 32px;
                    text-align: center;
                    .fl;
                    &:first-child{
                        background-color: @color0db4b9;
                        color: #fff;
                        line-height: 32px;
                    }
                    &:nth-child(2){
                        border:1px solid @borderdcdfe6;
                        line-height: 30px;
                        color: #202020;
                        margin-left: 10px;
                    }
               }
                .screeningKeyword{
                    .fr;
                }
            }
            .orderItem{
                border:1px solid @borderdcdfe6;
                margin-top: 20px;
                .orderItemTop{
                    height: 40px;
                    background-color: #f5f5f5;
                    padding:0 10px;
                    line-height: 40px;
                    color: #888888;
                    span{
                        em{
                            font-style: normal;
                            color: #202020;
                        }
                    }
                    .orderTime{
                        margin: 0 50px 0 10px;

                    }
                    .el-checkbox__label{
                        display: none;
                    }
                }
                table{
                    margin:10px 0;
                        td{
                            vertical-align: middle;
                            .drugImgBox{
                               float: left;
                               width: 60px;
                               height: 60px;
                               position: relative;
                               img{
                                   width: 100%;
                                   height: 100%;
                               }
                               .newOrderTip{
                                   width: 12px;
                                   height: 12px;
                                   position: absolute;
                                   right: -5px;
                                   top: -5px;
                                   background-color: #f4b337;
                                   border-radius: 50%;
                               }
                            }
                            .drugMsg{
                                margin-left: 70px;
                                h5{
                                    color: #202020;
                                }
                                p{
                                    color: #888;
                                }
                            }
                            &:nth-child(1){
                                padding-left: 10px;
                                width: 44%;
                            }
                            &:nth-child(2),&:nth-child(3),&:nth-child(4),&:nth-child(5){
                                width: 14%;
                            }
                            &:nth-child(2),&:nth-child(3),&:nth-child(4){
                                text-align: center;
                                h5{
                                    color: #202020;
                                }
                                span{
                                    color: #888888;
                                    font-size: 12px;
                                }
                            }
                            &:nth-child(4){
                                span{
                                    color: #009ea3;
                                    font-size: 14px;
                                }
                            }
                            &:nth-child(5){
                                &>div{
                                    a{
                                        margin: 0 10px 10px 0;
                                        display: inline-block;
                                    }
                                }
                              
                            }
                        }
                    }
                }
            .orderDetails-mains-main-m{
                border-bottom: 1px solid #dcdfe6;
            }
            .orderDetails-mains{
                .orderDetails-mains-top{
                    height: 40px;
                    width: 100%;
                    position: relative;
                    line-height: 30px;
                    span{
                        display: inline-block;
                    }
                    .orderDetails-mains-l{
                        width: 280px;
                        height: 40px;
                        position: absolute;
                        line-height: 40px;
                        left: 0;
                        top: 0;
                        background: #fff;
                        font-size: 16px;
                        color:#202020;
                        font-weight: bold;
                    }
                    .orderDetails-mains-r{
                        height: 1px;
                        background: #dcdfe6;
                        width: 100%;
                    }
                }
                .orderDetails-mains-tops{
                    border-bottom: 1px solid #dcdfe6;
                    font-size: 14px;
                    color: #666;
                    margin-bottom: 16px;
                    .w33{
                        height: 86px;
                        &:nth-child(1){
                            width: 40%;
                        }
                        &:nth-child(2){
                            width: 30%;
                        }
                        &:nth-child(3){
                            width: 30%;
                        }
                    }
                    .orderDetails-mains-tops-l,.orderDetails-mains-tops-m{
                        line-height: 24px;
                        .orderDetails-actives{
                            color: #009ea3;
                        }
                    }
                    .orderDetails-mains-tops-r{
                        color: #202020;
                        .orderDetails-mains-tops-r-t{
                            text-align: center;
                        }
                    }
                }
                .mar-auto{
                    margin: 0px auto;
                    width: 260px;
                }
                .orderDetails-mains-mains{
                    height: 142px;
                    border: 1px solid #dcdfe6;
                    margin-bottom: 16px;
                    .orderDetails-mains-mains-top{
                        height: 40px;
                        line-height: 40px;
                        background: #f5f5f5;
                        color: #888888;
                        .orderDetails-mains-mains-top-l,.orderDetails-mains-mains-top-r{
                            span{
                                color: #202020;
                                margin-right: 20px;
                                &:nth-child(3){
                                    margin-right: 0px;
                                }
                            }
                        }
                        .orderDetails-mains-mains-top-r{
                            padding-right: 20px;
                        }
                        .orderDetails-mains-mains-top-l{
                            padding-left: 20px;
                        }
                    }
                    .orderDetails-mains-mains-bot{
                        .orderDetails-mains-mains-bot-l1{
                            width: 30%;
                            border-right: 1px solid #dcdfe6;
                            height: 102px;
                            padding-top: 11px;
                            padding-left: 11px;
                            color: #666666;
                            line-height: 26px;
                            .orderDetails-mains-img{
                                img{
                                    width: 80px;
                                    height: 80px;
                                }
                            }
                            .orderDetails-mains-txts{
                                padding-left: 10px;
                            }
                        }
                        .orderDetails-mains-mains-bot-l2,.orderDetails-mains-mains-bot-l3,.orderDetails-mains-mains-bot-l4,.orderDetails-mains-mains-bot-l5{
                            width: 17%;
                            border-right: 1px solid #dcdfe6;
                            height: 102px;
                            text-align: center;
                            padding-top: 30px;
                        }
                        .orderDetails-mains-mains-bot-l5{
                            border-right: none;
                        }
                        .orderDetails-mains-mains-bot-l6{
                            width: 30%;
                            height: 102px;
                            padding-top: 10px;
                        }
                    }
                }
            }
            .orderDetails-people{
                padding-top: 10px;
                border-bottom: 1px solid #dcdfe6;
                padding-bottom: 10px;
                .orderDetails-people-l{
                    width: 50%;
                    line-height: 30px;
                    color: #666666;
                    .orderDetails-people-l-title{
                        color: #202020;
                        font-weight: bold;
                    }
                    span{
                        display: inline-block;
                        width: 100px;
                    }
                    .orderDetails-people-l-txt{
                        width: 100px;
                        display: block;
                    }
                    .orderDetails-people-l-txts{
                        width: 400px;
                        display: block;
                    }
                }
            }
            .orderDetails-btns{
                width: 120px;
                height: 40px;
                text-align: center;
                line-height: 40px;
                border-radius: 4px;
                color: #fff;
                margin: 20px auto 0;
                background: #009ea3;
                cursor: pointer;
            }
            .orderDetails-btnss{
                background: #a6a6a6;
            }
            .orderDetails-btnsss{
                width: 260px;
                margin: 0 auto;
                .orderDetails-btns{
                    &:nth-child(2){
                        margin-left: 20px;
                        background: #ff6b52;
                    }
                }
            }
        }
    }
}
.orderDetails-bar-code{
    width: 170px;
    height: 50px;
    text-align: center;
    margin: 0 auto 5px;
    img{
        width: 170px;
        height: 39px;
    }

}
.orderDetails-screeningPopup{
    width: 536px;
    padding: 25px 50px;
    .orderDetails-prompt{
        height: 26px;
        line-height: 26px;
        font-size: 12px;
        color: #ff6b52;
        text-indent: 80px;
    }
    .orderDetails-screeningPopup-l{
        width: 80px;
        height: 40px;
        line-height: 35px;
    }
    .orderDetails-screeningPopup-r{
        width: 356px;
    }
    .orderDetails-screeningPopup-btn{
        margin-bottom: 20px;
        padding-left: 80px;
        div{
            width: 90px;
            height: 32px;
            border-radius: 4px;
            line-height: 32px;
            text-align: center;
            font-size: 14px;
            cursor: pointer;
            &:nth-child(1){
                color: #fff;
                background: #009ea3;
            }
            &:nth-child(2){
                color: #666666;
                background: #fff;
                border: 1px solid #dcdfe6;
                margin-left: 12px;
            }
        }
    }
}
@media print { 
    .fl{
        float: left;
    }
    .fr{
        float: right;
    }
    .clear:after{
        content: "";
        display: block;
        clear: both;
    }
    .orderDetails-bar-code{
        // width: 140px;
        // height: 30px;
        text-align: center;
        margin-bottom: 5px;
    }
    .orderDetails-mains{
        font-size: 12px;
        .orderDetails-mains-top{
            height: 40px;
            width: 100%;
            position: relative;
            line-height: 30px;
            span{
                display: inline-block;
            }
            .orderDetails-mains-l{
                width: 200px;
                height: 40px;
                position: absolute;
                line-height: 40px;
                left: 0;
                top: 0;
                background: #fff;
                font-size: 12px;
                color:#202020;
                font-weight: bold;
            }
            .orderDetails-mains-r{
                height: 1px;
                background: #dcdfe6;
                width: 100%;
            }
        }
        .orderDetails-mains-tops{
            border-bottom: 1px solid #dcdfe6;
            font-size: 12px;
            color: #666;
            margin-bottom: 16px;
            .w33{
                height: 86px;
                &:nth-child(1){
                    width: 40%;
                }
                &:nth-child(2){
                    width: 30%;
                }
                &:nth-child(3){
                    width: 30%;
                }
            }
            .orderDetails-mains-tops-l,.orderDetails-mains-tops-m{
                line-height: 24px;
                .orderDetails-actives{
                    color: #009ea3;
                }
            }
            .orderDetails-mains-tops-r{
                color: #202020;
            }
        }
        .orderDetails-mains-mains{
            height: 142px;
            border: 1px solid #dcdfe6;
            margin-bottom: 16px;
            font-size: 12px;
            .orderDetails-mains-mains-top{
                height: 40px;
                line-height: 40px;
                background: #f5f5f5;
                color: #888888;
                font-size: 12px;
                .orderDetails-mains-mains-top-l,.orderDetails-mains-mains-top-r{
                    span{
                        color: #202020;
                        margin-right: 20px;
                        &:nth-child(3){
                            margin-right: 0px;
                        }
                    }
                }
                .orderDetails-mains-mains-top-r{
                    padding-right: 20px;
                }
                .orderDetails-mains-mains-top-l{
                    padding-left: 20px;
                }
            }
            .orderDetails-mains-mains-bot{
                font-size: 12px;
                .orderDetails-mains-mains-bot-l1{
                    width: 38%;
                    border-right: 1px solid #dcdfe6;
                    height: 102px;
                    padding-top: 11px;
                    padding-left: 11px;
                    color: #666666;
                    line-height: 26px;
                    .orderDetails-mains-img{
                        img{
                            width: 60px;
                            height: 60px;
                        }
                    }
                    .orderDetails-mains-txts{
                        margin-left: 10px;
                    }
                }
                .orderDetails-mains-mains-bot-l2,.orderDetails-mains-mains-bot-l3,.orderDetails-mains-mains-bot-l4,.orderDetails-mains-mains-bot-l5{
                    width: 10%;
                    border-right: 1px solid #dcdfe6;
                    height: 102px;
                    text-align: center;
                    padding-top: 30px;
                }
                .orderDetails-mains-mains-bot-l6{
                    width: 22%;
                    height: 102px;
                    padding-left: 10px;
                }
            }
            .orderDetails-mains-mains-bots{
                .orderDetails-mains-mains-bot-l1{
                    width: 40%;
                } 
                .orderDetails-mains-mains-bot-l2,.orderDetails-mains-mains-bot-l3,.orderDetails-mains-mains-bot-l4,.orderDetails-mains-mains-bot-l5{
                    width: 15%;
                }
                .orderDetails-mains-mains-bot-l5{
                    border-right: none;
                }
            }
        }
    }
    .orderDetails-people{
        padding-top: 10px;
        border-bottom: 1px solid #dcdfe6;
        padding-bottom: 10px;
        font-size: 12px;
        .orderDetails-people-l{
            width: 50%;
            line-height: 30px;
            color: #666666;
            .orderDetails-people-l-title{
                color: #202020;
                font-weight: bold;
            }
            span{
                display: inline-block;
                width: 100px;
            }
            .orderDetails-people-l-txt{
                width: 100px;
                display: block;
            }
            .orderDetails-people-l-txts{
                width: 400px;
                display: block;
            }
        }
    }
    .orderDetails-btns{
        width: 120px;
        height: 40px;
        text-align: center;
        line-height: 40px;
        border-radius: 4px;
        color: #fff;
        margin: 20px auto 0;
        background: #009ea3;
        cursor: pointer;
    }
    .orderDetails-btnss{
        background: #a6a6a6;
    }
    .orderDetails-btnsss{
        width: 260px;
        margin: 0 auto;
        .orderDetails-btns{
            &:nth-child(2){
                margin-left: 20px;
                background: #ff6b52;
            }
        }
    }
}
.orderDetailPopup{
    width: 600px;
    overflow-y: auto;
    color: #202020;
    font-size: 14px;
    padding: 0 30px 50px;
    &>ul{
        &>li{
            padding-bottom: 30px;
            border-bottom: 1px solid #eaeaea;
            .topMsg{
                height: 38px;
                line-height: 38px;
                border-bottom: 1px solid #eaeaea;
                span{
                    margin-right: 15px;
                }
            }
            .numBox{
                margin: 10px 0;
                .leftTitle{
                    width: 100px;
                    display: inline-block;
                }
                .rightContent{
                    display: inline-block;
                    .el-input{
                        width: 26px;
                        line-height: 26px;
                        width: 300px;
                    }
                }
            }
            .orderState{
                &>div{
                    &:last-child{
                        display: none;
                        h5{
                            margin:5px;
                        }
                        table{
                            border-collapse:collapse;
                            tr{
                                td{
                                    border:1px solid #eaeaea;
                                    height: 30px;
                                    vertical-align: middle;
                                    text-align: center;
                                    width: 50%;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    .system-messagebox1-btn{
        margin-top: 25px;
    }
}


